import { IReceiveHandler } from "../../Interfaces/Sockets/IReceiveHandler";
import { IClientMessage } from "../../Interfaces/Sockets/IClientMessage";
import { ObjectUtility } from "../../Utility/ObjectUtility";
import { Client } from "./Client";

export class ReceiveHandler implements IReceiveHandler 
{
    public static ClassName:string = "ReceiveHandler";
	public onDeal(client:Client, msg:IClientMessage):void
    {
        
    }
    public onDealError(client:Client, msg:IClientMessage, error:String):void
    {
        var className:String = ObjectUtility.GetObjectClassName(this);
        console.log("【"+className+"】   ========>   处理消息失败！！！");
    }
    public dispose():void
    {
    }
}
